package com.chu.seviece.impl;

import com.chu.bean.Wife;
import com.chu.dao.WifeDao;
import com.chu.seviece.WifeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("wifeService")
public class WifeServiceImpl implements WifeService {
    @Autowired
    private WifeDao wifeDao;
    @Override
    public Wife findOneWife(int id) {
        return wifeDao.findOne(id);
    }
}
